package com.btb.adapter.mapper;

import com.btb.adapter.model.TransferRecord;
import com.btb.adapter.model.UpChainHero;
import com.btb.adapter.model.UpChainHeroExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UpChainHeroMapper {
	long countByExample(UpChainHeroExample example);

	int deleteByExample(UpChainHeroExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(UpChainHero record);

	int insertSelective(UpChainHero record);

	List<UpChainHero> selectByExample(UpChainHeroExample example);

	UpChainHero selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") UpChainHero record, @Param("example") UpChainHeroExample example);

	int updateByExample(@Param("record") UpChainHero record, @Param("example") UpChainHeroExample example);

	int updateByPrimaryKeySelective(UpChainHero record);

	int updateByPrimaryKey(UpChainHero record);

	int batchInsert(List<UpChainHero> list);

	List<UpChainHero> queryNotify(Integer retryTimes);

}